package com.bootdo.contract.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.contract.dao.XuanxiangDao;
import com.bootdo.contract.domain.XuanxiangDO;
import com.bootdo.contract.service.XuanxiangService;



@Service
public class XuanxiangServiceImpl implements XuanxiangService {
	@Autowired
	private XuanxiangDao xuanxiangDao;
	
	@Override
	public XuanxiangDO get(Integer id){
		return xuanxiangDao.get(id);
	}
	
	@Override
	public List<XuanxiangDO> list(Map<String, Object> map){
		return xuanxiangDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return xuanxiangDao.count(map);
	}
	
	@Override
	public int save(XuanxiangDO xuanxiang){
		return xuanxiangDao.save(xuanxiang);
	}
	
	@Override
	public int update(XuanxiangDO xuanxiang){
		return xuanxiangDao.update(xuanxiang);
	}
	
	@Override
	public int remove(Integer id){
		return xuanxiangDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return xuanxiangDao.batchRemove(ids);
	}
	
}
